package com.wzw.springboot.principle.exception;

/**
 * @author Wangzhiwen
 */
public class BusinessException extends RuntimeException {

    private String message;

    public BusinessException() {
    }

    public BusinessException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
